package com.neusoft.ysu.his.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 作者：赵子鉴
 * @since 2023-08-25
 */
public class Doc implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String name;



    private Integer deptid;

    private Integer levelId;

    private String worknum;

    private Integer patientnum;

    private Integer delmark;


    @TableField(exist = false)
    private Dept dept;
    @TableField(exist = false)
    private Level level;

    public Dept getDept() {
        return dept;
    }

    public void setDept(Dept dept) {
        this.dept = dept;
    }

    public Level getLevel() {
        return level;
    }

    public void setLevel(Level level) {
        this.level = level;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getDeptid() {
        return deptid;
    }

    public void setDeptid(Integer deptid) {
        this.deptid = deptid;
    }
    public Integer getLevelId() {
        return levelId;
    }

    public void setLevelId(Integer levelId) {
        this.levelId = levelId;
    }
    public String getWorknum() {
        return worknum;
    }

    public void setWorknum(String worknum) {
        this.worknum = worknum;
    }
    public Integer getPatientnum() {
        return patientnum;
    }

    public void setPatientnum(Integer patientnum) {
        this.patientnum = patientnum;
    }
    public Integer getDelmark() {
        return delmark;
    }

    public void setDelmark(Integer delmark) {
        this.delmark = delmark;
    }

    @Override
    public String toString() {
        return "Doc{" +
            "id=" + id +
            ", name=" + name +
            ", deptid=" + deptid +
            ", levelId=" + levelId +
            ", worknum=" + worknum +
            ", patientnum=" + patientnum +
            ", delmark=" + delmark +
        "}";
    }
}
